]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Remove unused code
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 21 Jan 2019 20:48:53 +0000 (21:48 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Feb 2019 15:25:54 +0000 (16:25 +0100)
This signal does not exist, the Suggestions.add() method allows to attach
per-element callbacks instead.

js/ui/keyboard.js

index b1fafb953c5a03dc355ff99aa68be05995c42961..e8de116571a485f1f793c88c2ae898c3124849ba 100644 (file)
@@ -675,9 +675,6 @@ var Keyboard = class Keyboard {
         this._current_page = null;
 
         this._suggestions = new Suggestions();
-        this._suggestions.connect('suggestion-clicked', (suggestions, str) => {
-            this._keyboardController.commitString(str);
-        });
         this.actor.add(this._suggestions.actor,
                        { x_align: St.Align.MIDDLE,
                          x_fill: false });